package com.ruiyian.system.service.impl;

import com.ruiyian.system.domain.ServerPointFormal;
import com.ruiyian.system.mapper.ServerPointMapper;
import com.ruiyian.system.service.ServerPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ServerPointServiceImpl implements ServerPointService {
    @Autowired
    private ServerPointMapper serverPointMapper;

    @Override
    public List<ServerPointFormal> getserverpoint(int id){
        return serverPointMapper.getserverpoint(id);
    }

    @Override
    public int updateServerPoint(ServerPointFormal serverPointFormal){
        return serverPointMapper.updateServerPoint(serverPointFormal);
    }
}
